PHY LOAD RIGID BODY DYNAMIC CONVEXES

Load data from a dynamic convex file and apply this to an object.

  Syntax
phy load rigid body dynamic convexes ID, file$ 
phy load rigid body dynamic convexes ID, file$, material
  Parameters

ID
identification number of the 3D object that will be represented by the convex data

file$
the data from file to be loaded, this must have been saved with phy make rigid body dynamic convexes

material
this parameter is optional, a material can be specified if required upon creation of a dynamic convex rigid body mesh, by specifying a material you can have further control over how the object will react with other objects in regard to properties such as its restitution

  Returns

This command does not return a value.

  Description

This command can be a much better approach as using pre calculated data will be faster than having to compute dynamic convex meshes each time you run your program.